
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$info[0]['title']}</title>
    <meta name="keywords" content="{$info[0]['key']}">
    <meta name="description" content="{$info[0]['des']}">
    {css href="__INDEXCSS__/base.css"}
    {css href="__INDEXCSS__/style.css"}
    {js href="__INDEXJS__/jquery-1.11.0.js"}
    {js href="__INDEXJS__/myJavaScript.js"}
</head>
<body>
<!-- 头-->
<div id="topArea">
    <div class="topArea">
        <div class="topAreaLeft" id="topAreaLeft">
            欢迎来到{$info[0]['title']}
        </div>
        <div class="topAreaRight" id="topAreaRight">
            <span><a onclick="AddFavorite(window.location,document.title)" href="javascript:;">加入收藏</a></span>
        </div>
    </div>
</div>
<!-- LOGO-->
<div id="topLogo">
    <div class="topLogo">
        <div class="logo left">
            <a href="#" title="加拿大28预测"> <img width="100%" src="{$info[0]['logo']}" alt="加拿大28预测"></a>
        </div>
    </div>
</div>
<div id="nav" class="nav">
    <div class="navMain">
        <ul>
            <li><a href="{:url('/index/')}" class="selected">预测专区</a><em></em></li>
            <li><a href="{:url('/count/',array('kjtype'=>$kjtype))}">走势图</a></li>
            <li><a href="{:url('/number/',array('kjtype'=>$kjtype))}">开奖分析</a></li>
        </ul>
    </div>
</div>
<div class="liadvert">
    {volist name="adv" key="k" id="vo" offset="0"}
        {if $vo['position'] == '顶部图片' and $vo['is_img'] == '是'}
        <p style='margin-top:10px;text-align:center'><a rel="nofollow" href="{$vo['url']}" target="_blank"><img style="width:100%" src="{$vo['img']}"></a></p>
        {/if}
    {/volist}
    <!--<p style='margin-top:10px;text-align:center'><a rel="nofollow" href="https://chat.meiqia.cn/widget/standalone.html?eid=8d02a6466722a29d9cb050d54a99ab59"><img style="width:100%" src="http://196939.com/01.png-->
    <!--"></a></p>-->
</div>
{volist name="adv" key="k" id="vo" offset="0"}
    {if $vo['position'] == '顶部文字' and $vo['is_img'] == '否'}
    <div class="navMain" style="width:999px;height:40px;line-height:40px;letter-spacing:2px;text-align:center;font-size:18px;font-weight:900;color:#fff;background-color:#E20618;margin-bottom: 8px;">
        <span><a href="{$vo['url']}" target="_blank">{$vo.text|raw}</a> </span>
    </div>
    {/if}
{/volist}
<div class="mainArea">
    <div class="xyMain">
        <div class="yingli">
            <ul>
                <li><span class="sTitle">选择开奖：</span> </li>
                <li class="{$kjtype == '2' ? 'selected' : ''}"> <a href="{:url('/index',array('kjtype'=>2,'type'=>$type,'i'=>$i))}">台湾28</a> </li>
                <li class="{$kjtype == '1' ? 'selected' : ''}"> <a href="{:url('/index',array('kjtype'=>1,'type'=>$type,'i'=>$i))}">加拿大</a> </li>
                <li class="{$kjtype == '3' ? 'selected' : ''}"> <a href="{:url('/index',array('kjtype'=>3,'type'=>$type,'i'=>$i))}">澳洲28</a> </li>
                {volist name="adv" key="k" id="vo" offset="0"}
                {if $vo['position'] == '开奖栏(文字)' and $vo['is_img'] == '否'}
                <li > <a href="{$vo['url']}" target="_blank">{$vo['text']}</a> </li>
                {/if}
                {/volist}
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="yingli">
            <ul>
                <li><span class="sTitle">选择算法：</span> </li>
                {volist name="alg" key="k" id="vo" offset="0"}
                    <li class="{$i == $k ? 'selected' : ''}"> <a href="{:url('/index',array('i'=>$k,'kjtype'=>$kjtype,'type'=>$type))}">{$vo['name']}
                        {if $sftj[$k-1] == 1}
                        <span style="color:#ff0000">&nbsp;推荐</span>
                        {/if}
                    </a>
                    </li>
                {/volist}
                {volist name="adv" key="k" id="vo" offset="0"}
                {if $vo['position'] == '算法栏(文字)' and $vo['is_img'] == '否'}
                <li > <a href="{$vo['url']}" target="_blank">{$vo['text']}</a> </li>
                {/if}
                {/volist}
            </ul>
        </div>
        <div class="clear"></div>
        <div class="xyTime">
            距离第
            <strong class="red" id="maxNums">{$kjdata[0]['issue']+1}</strong>期开奖还有
            <span class="nowTime" id="nowTime"></span>
        </div>
        <div class="clear"></div>
    </div>
    <div id="xy28CountMain">
        <ul class="yuceMenu">
            <li class="{$type == 1 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>1))}" title="组合预测">组合预测</a></li>
            <li class="{$type == 2 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>2))}" title="组合预测">杀组预测</a></li>
            <li class="{$type == 3 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>3))}" title="组合预测">反杀组预测</a></li>
            <li class="{$type == 6 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>6))}" title="组合预测">杀三余预测</a></li>
            <li class="{$type == 7 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>7))}" title="组合预测">杀四余预测</a></li>
            <li class="{$type == 8 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>8))}" title="组合预测">杀五余预测</a></li>
            <li class="{$type == 9 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>9))}" title="组合预测">杀尾预测</a></li>
            <li class="{$type == 10 ? 'selected' : ''}"><a href="{:url('/index',array('i'=>$i,'kjtype'=>$kjtype,'type'=>10))}" title="组合预测">中边预测</a></li>
        </ul>
        <div class="yuceContent">
            <table cellspacing="0" cellpadding="0" id="tbe" style="width: 999px;">
                <tbody>
                <tr>
                    <td colspan="5" class="sty" style="color:black;">统计：<span>100</span>期，期中对<span>{$zq}</span>期，错<span>{$cw}</span>期，最大连对<span>{$maxlz}</span>期，最大连错<span>{$maxlc}</span>期，胜率 <span>{$zq}%</span>
                        <!--<p style="width:100%; border-top:1px solid #c6c6c6;">
                                           此预测由<a href="tencent://message/?uin=1114427767&Site=&Menu=yes" target="_blank" style="color:#3154fa;">9伴科技</a>提供技术支持
                                       </p>--> </td>
                </tr>
                <tr>
                    <th width="20%">期号</th>
                    <th width="20%">时间</th>
                    <th width="30%">开奖</th>
                    <th width="15%">预测</th>
                    <th width="15%">结果</th>
                </tr>
                <tr>
                    <td>{$kjdata[0]['issue']+1}</td>
                    <td></td>
                    <td></td>
                    <td>
                        {if $type == 1}
                        <span class="Rpng">{:str_split($yc[0],3)[0]}</span>&nbsp;
                        <span class="Rpng">{:str_split($yc[0],3)[1]}</span>
                        {else/}
                        <span class="Rpng2">{$yc[0]}</span>
                        {/if}


                    </td>
                    <td></td>
                </tr>
                {volist name="yc" key="k" id="vo" offset="1"}
                    <tr>
                        <td>{$kjdata[$k-1]['issue']}</td>
                        <td>{$kjdata[$k-1]['date']}</td>
                        <td><span class="rball">{$kjdata[$k-1]['c1']}</span> + <span class="rball">{$kjdata[$k-1]['c2']}</span> + <span class="rball">{$kjdata[$k-1]['c3']}</span> = <span class="bball">{$kjdata[$k-1]['c4']}</span></td>
                        <td>
                        {if $type == 1}
                            <span class="{$dc[$k-1] == '1' || $dc[$k-1] == '3' ? 'Rpng' : 'Gpng'}">{:str_split($vo,3)[0]}</span>&nbsp;
                            <span class="{$dc[$k-1] == '2' || $dc[$k-1] == '1' ? 'Rpng' : 'Gpng'}">{:str_split($vo,3)[1]}</span>
                        {else/}
                            <span class="{$dc[$k-1] == '1' ? 'Rpng2' : 'Gpng2'}">{$vo}</span>
                        {/if}
                        </td>
                        <td><span class="{$dc[$k-1] == '0' ? 'Grno' : 'Ryes'}"></span></td>
                    </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="bottom">
    <div class="bottomBg"></div>
    <!--<p class="cnzz" ></p>-->
    {volist name="adv" key="k" id="vo" offset="0"}
    {if $vo['position'] == '底部' and $vo['is_img'] == '否'}
    <p>{$vo['text']|raw}</p>
    {/if}
    {/volist}
</div>
{volist name="adv" key="k" id="vo" offset="0"}
{if $vo['position'] == '浮动' and $vo['is_img'] == '是'}
<a href="{$vo['url']}"><img alt="" src="{$vo['img']}" style="display: block;position: fixed;top: 580px;right: 1px;width: 65px;height: 60px;z-index:9999"></a>
{/if}
{/volist}
<script charset="UTF-8" id="LA_COLLECT" src="//demo.gblnews.cn/static/js/js-sdk-pro.min.js"></script>
<script>LA.init({id: "JqjyWg48GfvA05Zg",ck: "JqjyWg48GfvA05Zg", autoTrack: true, prefix: 'event'})</script>
<script>
    timeLoad({$kjdata[0]['issue']+1},{$kjdata['countDown']} );
    function timeLoad(nums, time) {
        time = time - 1;
        if (time < 0) {
            time = 0;
        }
        $("#maxNums").html(nums);
        var shtml = "";
        if (time == 0) {
            shtml = '<strong>0</strong>秒<a href="javascript:;" onclick="window.location.reload()">（点此刷新）</a>'
        } else {
            shtml = "<strong>" + time + "</strong>秒";
        }
        $("#nowTime").html(shtml);
        setTimeout('timeLoad(' + nums + ',' + time + ')', 1000);
    }
    function useload(){
        window.location.reload();
    }

</script>
</body>
</html>